package gdut.jmxywz.been;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * StmessageBoard entity. @author MyEclipse Persistence Tools
 */

public class StmessageBoard implements java.io.Serializable {

	// Fields

	private Integer messageBoardid;
	private Student student;
	private String messageTitle;
	private Date messageBoardTime;
	private String messageContext;
	private String replylocked;
	private String lockedReason;
	private Integer readtimes;
	private String auditing;
	private Set stmessageBoardFiles = new HashSet(0);
	private Set stmessageReplies = new HashSet(0);

	// Constructors

	/** default constructor */
	public StmessageBoard() {
	}

	/** full constructor */
	public StmessageBoard(Student student, String messageTitle,
			Date messageBoardTime, String messageContext, String replylocked,
			String lockedReason, Integer readtimes, String auditing,
			Set stmessageBoardFiles, Set stmessageReplies) {
		this.student = student;
		this.messageTitle = messageTitle;
		this.messageBoardTime = messageBoardTime;
		this.messageContext = messageContext;
		this.replylocked = replylocked;
		this.lockedReason = lockedReason;
		this.readtimes = readtimes;
		this.auditing = auditing;
		this.stmessageBoardFiles = stmessageBoardFiles;
		this.stmessageReplies = stmessageReplies;
	}

	// Property accessors

	public Integer getMessageBoardid() {
		return this.messageBoardid;
	}

	public void setMessageBoardid(Integer messageBoardid) {
		this.messageBoardid = messageBoardid;
	}

	public Student getStudent() {
		return this.student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public String getMessageTitle() {
		return this.messageTitle;
	}

	public void setMessageTitle(String messageTitle) {
		this.messageTitle = messageTitle;
	}

	public Date getMessageBoardTime() {
		return this.messageBoardTime;
	}

	public void setMessageBoardTime(Date messageBoardTime) {
		this.messageBoardTime = messageBoardTime;
	}

	public String getMessageContext() {
		return this.messageContext;
	}

	public void setMessageContext(String messageContext) {
		this.messageContext = messageContext;
	}

	public String getReplylocked() {
		return this.replylocked;
	}

	public void setReplylocked(String replylocked) {
		this.replylocked = replylocked;
	}

	public String getLockedReason() {
		return this.lockedReason;
	}

	public void setLockedReason(String lockedReason) {
		this.lockedReason = lockedReason;
	}

	public Integer getReadtimes() {
		return this.readtimes;
	}

	public void setReadtimes(Integer readtimes) {
		this.readtimes = readtimes;
	}

	public String getAuditing() {
		return this.auditing;
	}

	public void setAuditing(String auditing) {
		this.auditing = auditing;
	}

	public Set getStmessageBoardFiles() {
		return this.stmessageBoardFiles;
	}

	public void setStmessageBoardFiles(Set stmessageBoardFiles) {
		this.stmessageBoardFiles = stmessageBoardFiles;
	}

	public Set getStmessageReplies() {
		return this.stmessageReplies;
	}

	public void setStmessageReplies(Set stmessageReplies) {
		this.stmessageReplies = stmessageReplies;
	}

}